package cn.iocoder.yudao.module.system.controller.admin.roleaccess.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 角色和APIJSON权限关联新增/修改 Request VO")
@Data
public class RoleAccessSaveReqVO {

    @Schema(description = "自增编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14917")
    private Long id;

    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6040")
    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    @Schema(description = "表别名")
    private String alias;

    @Schema(description = "方法")
    private String method;

}